﻿namespace EyeOpen.Webcam.Mvc
{
	using System;
	using System.ServiceModel;
	using System.ServiceModel.Web;

	[ServiceContract]
	public interface IStreamService
	{
		[OperationContract]
		[WebInvoke(BodyStyle = WebMessageBodyStyle.Wrapped)]
		void Capture(byte[] value, DateTime dateTime);

		[OperationContract]
		[WebInvoke(BodyStyle = WebMessageBodyStyle.Wrapped)]
		void CaptureString(string value, DateTime dateTime);
	}
}